package conson.tech.manage.facade.controller.scene;

import javax.servlet.http.HttpServletRequest;


public class BaseController {


    /**
     * 获取header中存放的商户id
     *
     * @param request
     * @return
     */
    protected Long getCurrentMerchatId(HttpServletRequest request) {


        //TODO 获取登录用户id

        return 9999999L;

    }

    /**
     * 获取header中存放的userName
     *
     * @param request
     * @return
     */
    protected String getCurrentUserName(HttpServletRequest request) {


        //TODO 获取登录用户id

        return "admin";

    }


}
